package com.wn.demo02;

/**
 * @author yellow Docter
 * @date 2022 -07-07
 * @desc
 */
public class UserServiceImpl implements UserService{

    @Override
    public void save(String name) {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("UserServiceImpl.save");
    }

    @Override
    public void update() {
        System.out.println("UserServiceImpl.update");
    }
}
